home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr11 / pctv4n2.zip / SHADES.ZIP / CMFILE.CPP next >
C/C++ Source or Header  |  1993-02-26  |  335b  |  18 lines

  1. // cmfile.cpp -- File menu commands by Tom Swan
  2. #include <owl.h>
  3. #pragma hdrstop
  4. #include "frame.h"
  5.  
  6. // File|New command
  7. void TFrameWindow::CMFileNew(RTMessage)
  8. {
  9.   GetApplication()->MakeWindow(new
  10.     TWindow(this, "[untitled]"));
  11. }
  12.  
  13. // File|Exit command
  14. void TFrameWindow::CMFileExit(RTMessage)
  15. {
  16.   CloseWindow();
  17. }
  18.